package testng;
import testng.*;

import java.io.File;
import java.io.IOException;

import javax.naming.InitialContext;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

public class chrome1 {
	
			
	WebDriver wd;
	
	
	map map1=new map();
	
	@BeforeMethod
	public void int_webdriver() throws IOException {
	//System.out.println("123");	
		//vo.init_webdriver();
		//vo.wd.get(map.url);
//		String driverPath=new File("./").getCanonicalPath()+ "/src/main/java/driver/chromedriver.exe";
//		System.setProperty("webdriver.chrome.driver", driverPath);
		
		
		String driverpath = new File("./").getCanonicalPath() + "/src/main/java/driver/chromedriver.exe";
		System.setProperty("webdriver.chrome.driver", driverpath);
		wd=new ChromeDriver();
		System.out.println("init");
		wd.get(map1.url1);
		wd.get(map1.map_url);
		//System.out.println("ok");
		
		
	}

  @Test
  public void f() {
	  
	  System.out.println("end");
  }
}
